package com.xbjtech.service;

import java.sql.SQLException;

import org.apache.ibatis.session.SqlSessionException;

import com.github.pagehelper.PageInfo;
import com.xbjtech.model.Order;
import com.xbjtech.model.OrderExample;

public interface OrderService {
	public PageInfo<Order> selectOrderListPage(OrderExample example, Integer currentPage);
	public void insertOrder(Order order) throws SQLException;
	public void deleteById(Long id) throws SQLException;
	public Order selectById(Long id);
	public void merge(Order order) throws SqlSessionException;
}
